package com.paw.security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author lvzihai
 * @date 2021/7/13
 **/
@Controller
public class SecurityController {


  @GetMapping({"/","index"})
  public String index(){
    return "index";
  }


  @GetMapping("/hello")
  public String hello(){
    return "hello";
  }

  @GetMapping("/login")
  public String login(){
    return "login";
  }

  @GetMapping("/pub/a")
  public String puba(){
    return "/pub/puba";
  }

}
